<div class="columns">
    <div class="column is-6 is-offset-3">
        <h1 class="title">修改博文</h1>
        <form action="/post/edit" method="post">
            <div class="hidden">
                <input class="input" type="hidden" name="id" value="{{article.id}}">
            </div>
            
            <div class="field">
                <label class="label">标题</label>
                <div class="control">
                    <input class="input" type="text" placeholder="请输入博文标题" 
                        name="title" value="{{article.title}}">
                </div>
            </div>
            <div class="field">
                <label class="label">作者</label>
                <div class="control">
                    <input class="input" type="text" placeholder="请输入作者姓名" 
                        name="author" value="{{article.author}}">
                </div>
            </div>
            <div class="field">
                <label class="label">日期</label>
                <div class="control">
                    <input class="input" type="date" name="date" value="{{article.date}}">
                </div>
            </div>
            <div class="field">
                <label class="label">内容</label>
                <div class="control">
                    <textarea class="textarea" placeholder="请输入博文内容" name="content">{{article.content}}</textarea>
                </div>
            </div>
            <div class="field is-grouped">
                <div class="control">
                    <input type="submit" class="button is-link">
                </div>
                <div class="control">
                    <button class="button is-text">取消</button>
                </div>
            </div>
        </form>
    </div>
</div>